<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- <script src="./kvue-1.0.js"></script> -->
    <script src="./kvue.js"></script>
  </head>
  <body>
    <div id="app">
      <p>{{counter}}</p>
      <h6 k-text="counter"></h6>
      <p k-html="desc"></p>
    </div>
    <script>
      const app = new Vue({
        el: "#app",
        data: {
          counter: 10,
          desc: '<span style="color:red;">村长好帅</span>',
        },
      });
      // app.$mount("#app");
      setInterval(() => {
        app.counter++;
      }, 1000);
    </script>
  </body>
</html>
